package com.example.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by hongzhenyue on 18/2/27.
 */
@Data
@ConfigurationProperties(prefix = "projecturl")
@Component
public class ServerConfig {
    private String url;
}
